﻿
using System;
using System.Collections.Generic;
using System.Text;
using PersistenceObject.Framework;
using PersistenceObject.Framework.Expressions;

namespace FundSms.Server.Model
{

    [Serializable]
    [DataTable("SMS_BlackList")]
    public partial class BlackList
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_BlackList");

        public static IntField _MobileID = new IntField("MobileID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _Remark = new StringField("Remark");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 mobileID;
        private String enterpriseCode;
        private String mobile;
        private String remark;
        private DateTime createDate;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("MobileID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 MobileID
        {
            get { return mobileID; }
            set { mobileID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_BlackListGlobal")]
    public partial class BlackListGlobal
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_BlackListGlobal");

        public static IntField _MobileID = new IntField("MobileID");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _Remark = new StringField("Remark");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");

        private Int32 mobileID;
        private String mobile;
        private String remark;
        private DateTime createDate;

        [KeyField("MobileID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 MobileID
        {
            get { return mobileID; }
            set { mobileID = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel")]
    public partial class Channel
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel");

        public static IntField _ChannelID = new IntField("ChannelID");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DecimalField _ChannelCost = new DecimalField("ChannelCost");
        public static StringField _ChannelName = new StringField("ChannelName");
        public static StringField _ChannelTypeCode = new StringField("ChannelTypeCode");
        public static StringField _ChannelStatus = new StringField("ChannelStatus");
        public static DecimalField _ChannelSpeed = new DecimalField("ChannelSpeed");
        public static StringField _ServiceCode = new StringField("ServiceCode");
        public static StringField _ServiceName = new StringField("ServiceName");
        public static StringField _Remark = new StringField("Remark");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 channelID;
        private String channelCode;
        private Decimal channelCost;
        private String channelName;
        private String channelTypeCode;
        private String channelStatus;
        private Decimal channelSpeed;
        private String serviceCode;
        private String serviceName;
        private String remark;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("ChannelID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 ChannelID
        {
            get { return channelID; }
            set { channelID = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("ChannelCost")]
        public Decimal ChannelCost
        {
            get { return channelCost; }
            set { channelCost = value; }
        }

        [DataField("ChannelName")]
        public String ChannelName
        {
            get { return channelName; }
            set { channelName = value; }
        }

        [DataField("ChannelTypeCode")]
        public String ChannelTypeCode
        {
            get { return channelTypeCode; }
            set { channelTypeCode = value; }
        }

        [DataField("ChannelStatus")]
        public String ChannelStatus
        {
            get { return channelStatus; }
            set { channelStatus = value; }
        }

        [DataField("ChannelSpeed")]
        public Decimal ChannelSpeed
        {
            get { return channelSpeed; }
            set { channelSpeed = value; }
        }

        [DataField("ServiceCode")]
        public String ServiceCode
        {
            get { return serviceCode; }
            set { serviceCode = value; }
        }

        [DataField("ServiceName")]
        public String ServiceName
        {
            get { return serviceName; }
            set { serviceName = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_GZXUANWU")]
    public partial class Channel_GZXUANWU
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_GZXUANWU");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZ0000")]
    public partial class Channel_HZ0000
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZ0000");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZ1111")]
    public partial class Channel_HZ1111
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZ1111");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZ3333")]
    public partial class Channel_HZ3333
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZ3333");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZ5555")]
    public partial class Channel_HZ5555
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZ5555");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZMOBILEXXJ")]
    public partial class Channel_HZMOBILEXXJ
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZMOBILEXXJ");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Channel_HZUNICOM")]
    public partial class Channel_HZUNICOM
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Channel_HZUNICOM");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static IntField _ErrorNumber = new IntField("ErrorNumber");
        public static DecimalField _GateWayID = new DecimalField("GateWayID");
        public static StringField _GateWayCode = new StringField("GateWayCode");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private String costMethod;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Int32 errorNumber;
        private Decimal gateWayID;
        private String gateWayCode;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("ErrorNumber")]
        public Int32 ErrorNumber
        {
            get { return errorNumber; }
            set { errorNumber = value; }
        }

        [DataField("GateWayID")]
        public Decimal GateWayID
        {
            get { return gateWayID; }
            set { gateWayID = value; }
        }

        [DataField("GateWayCode")]
        public String GateWayCode
        {
            get { return gateWayCode; }
            set { gateWayCode = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_ChannelType")]
    public partial class ChannelType
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_ChannelType");

        public static IntField _ChannelTypeID = new IntField("ChannelTypeID");
        public static StringField _ChannelTypeCode = new StringField("ChannelTypeCode");
        public static StringField _ChannelTypeName = new StringField("ChannelTypeName");
        public static StringField _Remark = new StringField("Remark");

        private Int32 channelTypeID;
        private String channelTypeCode;
        private String channelTypeName;
        private String remark;

        [KeyField("ChannelTypeID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 ChannelTypeID
        {
            get { return channelTypeID; }
            set { channelTypeID = value; }
        }

        [DataField("ChannelTypeCode")]
        public String ChannelTypeCode
        {
            get { return channelTypeCode; }
            set { channelTypeCode = value; }
        }

        [DataField("ChannelTypeName")]
        public String ChannelTypeName
        {
            get { return channelTypeName; }
            set { channelTypeName = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Enterprise")]
    public partial class Enterprise
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Enterprise");

        public static IntField _EnterpriseID = new IntField("EnterpriseID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _EnterpriseType = new StringField("EnterpriseType");
        public static StringField _EnterpriseStatus = new StringField("EnterpriseStatus");
        public static StringField _EnterpriseName = new StringField("EnterpriseName");
        public static StringField _Account = new StringField("Account");
        public static StringField _Password = new StringField("Password");
        public static StringField _ExtCode = new StringField("ExtCode");
        public static StringField _LogInstance = new StringField("LogInstance");
        public static IntField _Priority = new IntField("Priority");
        public static StringField _IP = new StringField("IP");
        public static StringField _MAC = new StringField("MAC");
        public static StringField _Sign = new StringField("Sign");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static StringField _SendMethod = new StringField("SendMethod");
        public static StringField _ValidateMethod = new StringField("ValidateMethod");
        public static StringField _CostMethod = new StringField("CostMethod");
        public static IntField _RetryNumber = new IntField("RetryNumber");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 enterpriseID;
        private String enterpriseCode;
        private String enterpriseType;
        private String enterpriseStatus;
        private String enterpriseName;
        private String account;
        private String password;
        private String extCode;
        private String logInstance;
        private Int32 priority;
        private String iP;
        private String mAC;
        private String sign;
        private DateTime createDate;
        private DateTime lastUpdate;
        private String sendMethod;
        private String validateMethod;
        private String costMethod;
        private Int32 retryNumber;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("EnterpriseID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 EnterpriseID
        {
            get { return enterpriseID; }
            set { enterpriseID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("EnterpriseType")]
        public String EnterpriseType
        {
            get { return enterpriseType; }
            set { enterpriseType = value; }
        }

        [DataField("EnterpriseStatus")]
        public String EnterpriseStatus
        {
            get { return enterpriseStatus; }
            set { enterpriseStatus = value; }
        }

        [DataField("EnterpriseName")]
        public String EnterpriseName
        {
            get { return enterpriseName; }
            set { enterpriseName = value; }
        }

        [DataField("Account")]
        public String Account
        {
            get { return account; }
            set { account = value; }
        }

        [DataField("Password")]
        public String Password
        {
            get { return password; }
            set { password = value; }
        }

        [DataField("ExtCode")]
        public String ExtCode
        {
            get { return extCode; }
            set { extCode = value; }
        }

        [DataField("LogInstance")]
        public String LogInstance
        {
            get { return logInstance; }
            set { logInstance = value; }
        }

        [DataField("Priority")]
        public Int32 Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("IP")]
        public String IP
        {
            get { return iP; }
            set { iP = value; }
        }

        [DataField("MAC")]
        public String MAC
        {
            get { return mAC; }
            set { mAC = value; }
        }

        [DataField("Sign")]
        public String Sign
        {
            get { return sign; }
            set { sign = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("SendMethod")]
        public String SendMethod
        {
            get { return sendMethod; }
            set { sendMethod = value; }
        }

        [DataField("ValidateMethod")]
        public String ValidateMethod
        {
            get { return validateMethod; }
            set { validateMethod = value; }
        }

        [DataField("CostMethod")]
        public String CostMethod
        {
            get { return costMethod; }
            set { costMethod = value; }
        }

        [DataField("RetryNumber")]
        public Int32 RetryNumber
        {
            get { return retryNumber; }
            set { retryNumber = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_EnterpriseChannel")]
    public partial class EnterpriseChannel
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_EnterpriseChannel");

        public static IntField _RuleID = new IntField("RuleID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _ChannelCode = new StringField("ChannelCode");

        private Int32 ruleID;
        private String enterpriseCode;
        private String channelCode;

        [KeyField("RuleID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 RuleID
        {
            get { return ruleID; }
            set { ruleID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_EnterpriseChannelRule")]
    public partial class EnterpriseChannelRule
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_EnterpriseChannelRule");

        public static IntField _RuleID = new IntField("RuleID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static IntField _BeginSendPercent = new IntField("BeginSendPercent");
        public static IntField _EndSendPercent = new IntField("EndSendPercent");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static StringField _Sign = new StringField("Sign");
        public static StringField _ExtCode = new StringField("ExtCode");

        private Int32 ruleID;
        private String enterpriseCode;
        private String channelCode;
        private Int32 beginSendPercent;
        private Int32 endSendPercent;
        private DateTime createDate;
        private String sign;
        private String extCode;

        [KeyField("RuleID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 RuleID
        {
            get { return ruleID; }
            set { ruleID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("BeginSendPercent")]
        public Int32 BeginSendPercent
        {
            get { return beginSendPercent; }
            set { beginSendPercent = value; }
        }

        [DataField("EndSendPercent")]
        public Int32 EndSendPercent
        {
            get { return endSendPercent; }
            set { endSendPercent = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("Sign")]
        public String Sign
        {
            get { return sign; }
            set { sign = value; }
        }

        [DataField("ExtCode")]
        public String ExtCode
        {
            get { return extCode; }
            set { extCode = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_EnterpriseChannelRuleAdvance")]
    public partial class EnterpriseChannelRuleAdvance
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_EnterpriseChannelRuleAdvance");

        public static IntField _RuleID = new IntField("RuleID");
        public static StringField _RuleType = new StringField("RuleType");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static IntField _BeginSendPercent = new IntField("BeginSendPercent");
        public static IntField _EndSendPercent = new IntField("EndSendPercent");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static StringField _Sign = new StringField("Sign");
        public static StringField _ExtCode = new StringField("ExtCode");

        private Int32 ruleID;
        private String ruleType;
        private String enterpriseCode;
        private String channelCode;
        private Int32 beginSendPercent;
        private Int32 endSendPercent;
        private DateTime createDate;
        private String sign;
        private String extCode;

        [KeyField("RuleID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 RuleID
        {
            get { return ruleID; }
            set { ruleID = value; }
        }

        [DataField("RuleType")]
        public String RuleType
        {
            get { return ruleType; }
            set { ruleType = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("BeginSendPercent")]
        public Int32 BeginSendPercent
        {
            get { return beginSendPercent; }
            set { beginSendPercent = value; }
        }

        [DataField("EndSendPercent")]
        public Int32 EndSendPercent
        {
            get { return endSendPercent; }
            set { endSendPercent = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("Sign")]
        public String Sign
        {
            get { return sign; }
            set { sign = value; }
        }

        [DataField("ExtCode")]
        public String ExtCode
        {
            get { return extCode; }
            set { extCode = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_EnterpriseChannelRuleCustom")]
    public partial class EnterpriseChannelRuleCustom
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_EnterpriseChannelRuleCustom");

        public static IntField _RuleID = new IntField("RuleID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _RuleType = new StringField("RuleType");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static StringField _Sign = new StringField("Sign");
        public static StringField _ExtCode = new StringField("ExtCode");

        private Int32 ruleID;
        private String enterpriseCode;
        private String ruleType;
        private String channelCode;
        private DateTime createDate;
        private String sign;
        private String extCode;

        [KeyField("RuleID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 RuleID
        {
            get { return ruleID; }
            set { ruleID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("RuleType")]
        public String RuleType
        {
            get { return ruleType; }
            set { ruleType = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("Sign")]
        public String Sign
        {
            get { return sign; }
            set { sign = value; }
        }

        [DataField("ExtCode")]
        public String ExtCode
        {
            get { return extCode; }
            set { extCode = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_GZXuanWuMapping")]
    public partial class GZXuanWuMapping
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_GZXuanWuMapping");

        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _UserName = new StringField("UserName");
        public static StringField _Password = new StringField("Password");

        private String enterpriseCode;
        private String userName;
        private String password;

        [KeyField("EnterpriseCode", KeyType = UniqueIDType.OtherDefinition)]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("UserName")]
        public String UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        [DataField("Password")]
        public String Password
        {
            get { return password; }
            set { password = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_KeyWords")]
    public partial class KeyWords
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_KeyWords");

        public static IntField _KeyID = new IntField("KeyID");
        public static StringField _KeyWord = new StringField("KeyWord");
        public static StringField _Remark = new StringField("Remark");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");

        private Int32 keyID;
        private String keyWord;
        private String remark;
        private DateTime createDate;

        [KeyField("KeyID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 KeyID
        {
            get { return keyID; }
            set { keyID = value; }
        }

        [DataField("KeyWord")]
        public String KeyWord
        {
            get { return keyWord; }
            set { keyWord = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_LOG")]
    public partial class LOG
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_LOG");

        public static IntField _ID = new IntField("ID");
        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static StringField _SmsCategory = new StringField("SmsCategory");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 iD;
        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private String smsCategory;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("ID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 ID
        {
            get { return iD; }
            set { iD = value; }
        }

        [DataField("LogID")]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsCategory")]
        public String SmsCategory
        {
            get { return smsCategory; }
            set { smsCategory = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MO")]
    public partial class MO
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MO");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _Content = new StringField("Content");
        public static StringField _ServiceCode = new StringField("ServiceCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static IntField _Status = new IntField("Status");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String mobile;
        private String content;
        private String serviceCode;
        private DateTime createDate;
        private String channelCode;
        private Int32 status;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("ServiceCode")]
        public String ServiceCode
        {
            get { return serviceCode; }
            set { serviceCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("Status")]
        public Int32 Status
        {
            get { return status; }
            set { status = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MT_BANKA")]
    public partial class MT_BANKA
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MT_BANKA");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static BooleanField _IsReport = new BooleanField("IsReport");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private Boolean isReport;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("IsReport")]
        public Boolean IsReport
        {
            get { return isReport; }
            set { isReport = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MT_FUNDA")]
    public partial class MT_FUNDA
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MT_FUNDA");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static BooleanField _IsReport = new BooleanField("IsReport");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private Boolean isReport;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("IsReport")]
        public Boolean IsReport
        {
            get { return isReport; }
            set { isReport = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MT_STOREA")]
    public partial class MT_STOREA
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MT_STOREA");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static BooleanField _IsReport = new BooleanField("IsReport");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private Boolean isReport;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("IsReport")]
        public Boolean IsReport
        {
            get { return isReport; }
            set { isReport = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MT_TEST")]
    public partial class MT_TEST
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MT_TEST");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static BooleanField _IsReport = new BooleanField("IsReport");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private Boolean isReport;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("IsReport")]
        public Boolean IsReport
        {
            get { return isReport; }
            set { isReport = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_MT_TEST2")]
    public partial class MT_TEST2
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_MT_TEST2");

        public static IntField _LogID = new IntField("LogID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _LogCode = new StringField("LogCode");
        public static StringField _Mobile = new StringField("Mobile");
        public static StringField _MobileType = new StringField("MobileType");
        public static StringField _Content = new StringField("Content");
        public static StringField _Priority = new StringField("Priority");
        public static StringField _SmsID = new StringField("SmsID");
        public static StringField _SubID = new StringField("SubID");
        public static IntField _SmsStatus = new IntField("SmsStatus");
        public static StringField _SmsStatusRemark = new StringField("SmsStatusRemark");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static DateTimeField _CreateDate = new DateTimeField("CreateDate");
        public static DateTimeField _LastUpdate = new DateTimeField("LastUpdate");
        public static IntField _Seed = new IntField("Seed");
        public static BooleanField _IsReturn = new BooleanField("IsReturn");
        public static BooleanField _IsReport = new BooleanField("IsReport");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 logID;
        private String enterpriseCode;
        private String logCode;
        private String mobile;
        private String mobileType;
        private String content;
        private String priority;
        private String smsID;
        private String subID;
        private Int32 smsStatus;
        private String smsStatusRemark;
        private String channelCode;
        private DateTime createDate;
        private DateTime lastUpdate;
        private Int32 seed;
        private Boolean isReturn;
        private Boolean isReport;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("LogID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 LogID
        {
            get { return logID; }
            set { logID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("LogCode")]
        public String LogCode
        {
            get { return logCode; }
            set { logCode = value; }
        }

        [DataField("Mobile")]
        public String Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        [DataField("MobileType")]
        public String MobileType
        {
            get { return mobileType; }
            set { mobileType = value; }
        }

        [DataField("Content")]
        public String Content
        {
            get { return content; }
            set { content = value; }
        }

        [DataField("Priority")]
        public String Priority
        {
            get { return priority; }
            set { priority = value; }
        }

        [DataField("SmsID")]
        public String SmsID
        {
            get { return smsID; }
            set { smsID = value; }
        }

        [DataField("SubID")]
        public String SubID
        {
            get { return subID; }
            set { subID = value; }
        }

        [DataField("SmsStatus")]
        public Int32 SmsStatus
        {
            get { return smsStatus; }
            set { smsStatus = value; }
        }

        [DataField("SmsStatusRemark")]
        public String SmsStatusRemark
        {
            get { return smsStatusRemark; }
            set { smsStatusRemark = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("CreateDate")]
        public DateTime CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }

        [DataField("LastUpdate")]
        public DateTime LastUpdate
        {
            get { return lastUpdate; }
            set { lastUpdate = value; }
        }

        [DataField("Seed")]
        public Int32 Seed
        {
            get { return seed; }
            set { seed = value; }
        }

        [DataField("IsReturn")]
        public Boolean IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        [DataField("IsReport")]
        public Boolean IsReport
        {
            get { return isReport; }
            set { isReport = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }

    [Serializable]
    [DataTable("SMS_Report")]
    public partial class Report
    {
        public static ObjectField _ALL = new ObjectField("*");
        public static Table _Table = new Table("SMS_Report");

        public static IntField _ReportID = new IntField("ReportID");
        public static StringField _EnterpriseCode = new StringField("EnterpriseCode");
        public static StringField _ChannelCode = new StringField("ChannelCode");
        public static StringField _ReportDay = new StringField("ReportDay");
        public static IntField _SendSuccess = new IntField("SendSuccess");
        public static IntField _SendFailure = new IntField("SendFailure");
        public static IntField _ReportStatus = new IntField("ReportStatus");
        public static StringField _Remark = new StringField("Remark");
        public static StringField _Ready1 = new StringField("Ready1");
        public static StringField _Ready2 = new StringField("Ready2");
        public static StringField _Ready3 = new StringField("Ready3");
        public static IntField _Ready4 = new IntField("Ready4");
        public static BooleanField _Ready5 = new BooleanField("Ready5");

        private Int32 reportID;
        private String enterpriseCode;
        private String channelCode;
        private String reportDay;
        private Int32 sendSuccess;
        private Int32 sendFailure;
        private Int32 reportStatus;
        private String remark;
        private String ready1;
        private String ready2;
        private String ready3;
        private Int32 ready4;
        private Boolean ready5;

        [KeyField("ReportID", KeyType = UniqueIDType.AutoIdentitiy)]
        public Int32 ReportID
        {
            get { return reportID; }
            set { reportID = value; }
        }

        [DataField("EnterpriseCode")]
        public String EnterpriseCode
        {
            get { return enterpriseCode; }
            set { enterpriseCode = value; }
        }

        [DataField("ChannelCode")]
        public String ChannelCode
        {
            get { return channelCode; }
            set { channelCode = value; }
        }

        [DataField("ReportDay")]
        public String ReportDay
        {
            get { return reportDay; }
            set { reportDay = value; }
        }

        [DataField("SendSuccess")]
        public Int32 SendSuccess
        {
            get { return sendSuccess; }
            set { sendSuccess = value; }
        }

        [DataField("SendFailure")]
        public Int32 SendFailure
        {
            get { return sendFailure; }
            set { sendFailure = value; }
        }

        [DataField("ReportStatus")]
        public Int32 ReportStatus
        {
            get { return reportStatus; }
            set { reportStatus = value; }
        }

        [DataField("Remark")]
        public String Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        [DataField("Ready1")]
        public String Ready1
        {
            get { return ready1; }
            set { ready1 = value; }
        }

        [DataField("Ready2")]
        public String Ready2
        {
            get { return ready2; }
            set { ready2 = value; }
        }

        [DataField("Ready3")]
        public String Ready3
        {
            get { return ready3; }
            set { ready3 = value; }
        }

        [DataField("Ready4")]
        public Int32 Ready4
        {
            get { return ready4; }
            set { ready4 = value; }
        }

        [DataField("Ready5")]
        public Boolean Ready5
        {
            get { return ready5; }
            set { ready5 = value; }
        }

    }








}

